<!--
 * @Author: Charsen
 * @Date: 2024-06-12 08:03
 * @LastEditors: wjc
 * @LastEditTime: 2025-10-28 11:28:53
 * @Description: 
-->
<template>
  <ScaffoldTreeShape
    v-model:horizontal="horizontal"
    v-model:expand="expand"
    :entity="entity"
    :actions="actions"
  />
</template>

<script setup lang="tsx">
  import ScaffoldTreeShape from '#/components/Scaffold/ScaffoldTreeShape.vue'
  import { getActions } from '#/utils/auth'

  defineOptions({
    name: `${entity}Index`,
  })
  const entity = 'Department'
  const actions = getActions('system-department')
  const horizontal = ref(true)
  const expand = ref(true)
</script>
